<?php

namespace App\Http\Controllers\User;

use App\Models\User\Repository\UserRepository;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class UserController extends Controller
{
    //
    protected $userRepository;
    public function __construct(UserRepository $userRepository)
    {
        $this->userRepository = $userRepository;
    }

    public function bindUser(Request $request)
    {
        $this->userRepository->save($request->all());
    }
}
